package day3;
//测试while和do-while循环
public class Demo3 {
    public static void main(String[] args) {
        test();

    }
    public static void test(){
        boolean b=false;
//        while (true){
//            System.out.println("执行循环");
//        }

        do {
            System.out.println("执行循环");
        }while (b);
    }
}
